From: awilliam@xenbuild.aw Date: Wed, 10 May 2006 21:58:36 +0000 (-0600) Subject: [IA64] linux: MULTI_update_va_mapping definition to copmile netback and netfront X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~16084 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=cc53c58e4e243badde2f6904b88675fe04c38d31;p=xen.git [IA64] linux: MULTI_update_va_mapping definition to copmile netback and netfront add trivial definitions, MULTI_UVMFLAGS_INDEX and MULTI_update_va_mapping() to compile netback and netfront Signed-off-by: Isaku Yamahata --- diff --git a/linux-2.6-xen-sparse/include/asm-ia64/hypervisor.h b/linux-2.6-xen-sparse/include/asm-ia64/hypervisor.h index de12853dcc..86fc59d809 100644 --- a/linux-2.6-xen-sparse/include/asm-ia64/hypervisor.h +++ b/linux-2.6-xen-sparse/include/asm-ia64/hypervisor.h @@ -172,6 +172,19 @@ xen_destroy_contiguous_region(unsigned long vstart, unsigned int order) if (running_on_xen) __xen_destroy_contiguous_region(vstart, order); } + +// for netfront.c, netback.c +#define MULTI_UVMFLAGS_INDEX 0 //XXX any value + +static inline void +MULTI_update_va_mapping( + multicall_entry_t *mcl, unsigned long va, + pte_t new_val, unsigned long flags) +{ + mcl->op = __HYPERVISOR_update_va_mapping; + mcl->result = 0; +} + #else #define xen_create_contiguous_region(vstart, order, address_bits) (0) #define xen_destroy_contiguous_region(vstart, order) do {} while (0)